package cn.jeefast.modules.platform.dao;

import cn.jeefast.common.entity.MbCommissioner;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 医学专员表
 Mapper 接口
 * </p>
 *
 * @author theodo
 * @since 2020-01-06
 */
public interface MbCommissioner1Dao extends BaseMapper<MbCommissioner> {

    /**
     * 根据关联项目获取专员（分页）
     * @param pid
     * @param page
     * @param limit
     * @return
     */
    List<MbCommissioner> listByProj(@Param("pid")Long pid,@Param("page")Integer page,@Param("limit")Integer limit);
}